package com.farm.learn.service;

import com.farm.core.auth.domain.LoginUser;
import com.farm.core.sql.query.DataQuery;
import com.farm.learn.domain.ClassUser;

import java.util.List;

public interface ClassUserServiceInter {

    public ClassUser insertClassUserEntity(ClassUser entity, LoginUser user);

    public ClassUser editClassUserEntity(ClassUser entity, LoginUser user);

    public void deleteClassUserEntity(String id, LoginUser user);

    public ClassUser getClassUserEntity(String id);

    public DataQuery createClassUserSimpleQuery(DataQuery query);

    public ClassUser findLearnByClassId(String classId, String userid);
}